//
//  NSString+MYDate.m
//  WNUser
//
//  Created by 浪遥 on 15/4/29.
//  Copyright (c) 2015年 SimGao. All rights reserved.
//

#import "NSString+MYDate.h"

@implementation NSString (MYDate)
#pragma mark - 将字符串时间格式化
- (NSString*)formatterDateStringWithFormatter:(NSDateFormatter *)formatter
{
    NSDate* tmpDate = [NSDate dateWithTimeIntervalSince1970:self.doubleValue];
    return [formatter stringFromDate:tmpDate];
}
@end
